<!-- <?php die(); ?> -->
<!-- THEM CMS configuration file -->
<config debug="false" staging="true">
    <domain></domain>
    <lang>
        <dir>lang</dir>
        <default>zh_CN</default>
    </lang>
    <google_analytics>
        <id></id>
        <old_id></old_id>
    </google_analytics>
    <currency>
        <symbol>￥</symbol>
        <code>人民币</code>
    </currency>
    <tax>
        <code>GST</code>
        <rate>10</rate>
    </tax>
    <ecarde>
        <openid>1B7999BAA6AC4BC186EA4D64AE6B329F</openid>
        <secret>BAT0ZG</secret>
    </ecarde>
    <company>
        <name>澳睿跑</name>
        <business_name>北京澳睿跑教育咨询有限公司</business_name>
        <abn>64 610 609 146</abn>
        <address>
            <street>澳睿跑大厦</street>
            <suburb>朝阳区朝来高科技产业园2号楼</suburb>
            <state>北京市</state>
            <postcode>100012</postcode>
        </address>
        <phone>010-5750-3275</phone>
        <fax>010-5750-3275</fax>
        <website>www.readysteadygokids.com.cn</website>
        <email>lc918.student@sina.com</email>
        <email_from>noreply@themserver.com</email_from>
        <email_contact>lc918.student@sina.com</email_contact>
        <email_orders>lc918.student@sina.com</email_orders>
        <email_franchise_enquiry>lc918.student@sina.com</email_franchise_enquiry>
        <logo>logo.png</logo>
    </company>
    <social_links>
        <facebook>https://www.facebook.com/readysteadygokidsmexico</facebook>
        <instagram>https://instagram.com/rsgkmx</instagram>
        <twitter>https://twitter.com/RSGKMexico</twitter>
        <blog>http://rsgkmx.blogspot.mx/</blog>
    </social_links>
    <smtp>
        <host>smtp.exmail.qq.com</host>
        <port>25</port>
        <username>noreply@readysteadygokids.com.cn</username>
        <password>Apt123</password>
    </smtp>
    <sms>
        <username></username>
        <password></password>
        <origin>+</origin>
    </sms>
    <database>
        <host>localhost</host>
        <user>root</user>
        <password>root</password>
        <dbname>newrsgk</dbname>
    </database>
    <page_strut>
        <type>1</type>
        <depth>2</depth>
        <file>ListClass</file>
        <table><!-- This table will be the details table -->
            <name>tbl_listing</name>
            <field>listing_url</field><!-- The field used to match the URL -->
            <associated>
                <name>gallery</name>
                <table>tbl_gallery</table>
                <linkfield>listing_id</linkfield>
                <field>gallery_listing_id</field>
            </associated>
        </table>
        <template>standardpage.tpl</template><!-- The template used if the field is matched -->
    </page_strut>
    <index_page>
        <template>home.tpl</template>
        <pageID>1</pageID>
        <process>
            <file>includes/processes/processes-locations_number.php</file>
        </process>
    </index_page>
    <!-- <error404 standalone="true">
        <template>404.tpl</template>
        <pageID>2</pageID>
    </error404> -->
    <error404>
        <template>standardpage.tpl</template>
        <pageID>95</pageID>
    </error404>
    <resetpassword>
        <template>resetpassword.tpl</template>
        <pageID>1</pageID>
    </resetpassword>
<!-- 	<search>
        <template>search.tpl</template>
        <pageID>28</pageID>
    </search> -->
    <static_page>
        <url>contact-us</url>
        <template>contact-us.tpl</template>
        <pageID>22</pageID>
        <options>
            <field recursive="true">
                <name>hearabout</name>
                <table>tbl_listing</table>
                <id>listing_object_id</id>
                <value>listing_url</value>
                <reference>listing_name</reference>
                <where>listing_type_id = '10' AND listing_published = '1'</where>
                <orderby>listing_order,listing_name</orderby>
            </field>  
        </options>
    </static_page>
    <static_page>
        <url>checkout-completed</url>
        <template>checkout-complete.tpl</template>
        <pageID>96</pageID>
    </static_page>
    <static_page>
        <url>thank-you</url>
        <template>thankyou.tpl</template>
        <pageID>21</pageID>
    </static_page>
    <static_page>
        <url>our-program/locations</url>
        <pageID>9</pageID>
        <template>locations.tpl</template>
        <associated>
            <name>locations</name>
            <table>tbl_location</table>
            <linkfield>listing_object_id</linkfield>
            <field>location_listing_id</field>
            <where>location_published = 1</where>
            <orderby>location_state, location_postcode</orderby>
        </associated>
        <process>
            <file>includes/processes/processes-locations_number.php</file>
        </process>
    </static_page>
    <static_page>
        <url>parties-and-events</url>
        <template>parties.tpl</template>
        <pageID>10</pageID>
        <options>
            <field recursive="true">
                <name>hearabout</name>
                <table>tbl_listing</table>
                <id>listing_object_id</id>
                <value>listing_url</value>
                <reference>listing_name</reference>
                <where>listing_type_id = '10' AND listing_published = '1'</where>
                <orderby>listing_order,listing_name</orderby>
            </field>
        </options>
    </static_page>
    <static_page>
        <url>franchises/international</url>
        <template>international.tpl</template>
        <pageID>26</pageID>
        <associated>
            <name>locations</name>
            <table>tbl_location</table>
            <linkfield>listing_object_id</linkfield>
            <field>location_listing_id</field>
        </associated>
    </static_page>
    <static_page>
        <url>franchises</url>
        <template>franchises.tpl</template>
        <pageID>12</pageID>
    </static_page>
    <static_page>
        <url>franchises/become-a-franchisee</url>
        <template>franchises.tpl</template>
        <pageID>119</pageID>
        <options>
            <field>
                <name>states</name>
                <table>tbl_region</table>
                <id>region_id</id>
                <value>region_name</value>
                <reference>region_name</reference>
                <where>region_id mod 10000 = 0</where>
                <orderby></orderby>
            </field>
            <field recursive="true">
                <name>hearabout</name>
                <table>tbl_listing</table>
                <id>listing_object_id</id>
                <value>listing_url</value>
                <reference>listing_name</reference>
                <where>listing_type_id = '10' AND listing_published = '1'</where>
                <orderby>listing_order,listing_name</orderby>
            </field>
        </options>
    </static_page>
    <static_page>
        <url>elc-and-kinder</url>
        <template>elck.tpl</template>
        <pageID>11</pageID>
        <options>
            <field recursive="true">
                <name>hearabout</name>
                <table>tbl_listing</table>
                <id>listing_object_id</id>
                <value>listing_url</value>
                <reference>listing_name</reference>
                <where>listing_type_id = '10' AND listing_published = '1'</where>
                <orderby>listing_order,listing_name</orderby>
            </field>
        </options>
    </static_page>
    <static_page>
        <url>our-program/partners-and-sponsors</url>
        <template>partners-sponsors.tpl</template>
        <pageID>8</pageID>
        <associated>
            <name>partners</name>
            <table>tbl_partner</table>
            <linkfield>listing_id</linkfield>
            <field>partner_listing_id</field>
            <orderby>partner_order</orderby>
        </associated>
    </static_page>
    <static_page>
        <url>our-program/news-list</url>
        <template>news.tpl</template>
        <process>
            <file>includes/processes/processes-news.php</file>
        </process>
    </static_page>
    <static_page>
        <url>our-program/news-info</url>
        <template>newsInfo.tpl</template>
        <process>
            <file>includes/processes/processes-news-info.php</file>
        </process>
    </static_page>
    <product_page name="products">
        <url>products</url>
        <pageID>14</pageID>
        <root_parent_id>14</root_parent_id>
        <type>2</type>
        <file>ProductClass</file>
        <table><!-- This table will be the details table -->
            <name>tbl_listing</name>
            <field>listing_url</field><!-- The field used to match the URL -->
            <associated>
                <name>gallery</name>
                <table>tbl_gallery</table>
                <linkfield>listing_id</linkfield>
                <field>gallery_listing_id</field>
            </associated>
            <tags>
                <name>associated_categories</name>
                <table>tbl_tag</table>
                <object_table>tbl_listing</object_table>
                <object_value>listing_name</object_value>
            </tags>
        </table>
        <template>category.tpl</template>
        <producttable>
            <id>product_id</id>
            <name>product_info</name>
            <table>tbl_product</table>
            <linkfield>listing_id</linkfield>
            <field>product_listing_id</field>
            <orderby>product_order ASC</orderby>
            <associated>
                <id>attribute_id</id>
                <name>attribute</name>
                <table>tbl_attribute</table>
                <linkfield>product_id</linkfield>
                <field>attribute_product_id</field>
                <orderby>attribute_order ASC</orderby>
                <associated>
                    <id>attr_value_id</id>
                    <name>attr_value</name>
                    <table>tbl_attr_value</table>
                    <linkfield>attribute_id</linkfield>
                    <field>attr_value_attribute_id</field>
                    <orderby>attr_value_order ASC</orderby>
                </associated>
            </associated>
            <associated>
                <name>gallery</name>
                <table>tbl_gallery</table>
                <linkfield>product_id</linkfield>
                <field>gallery_product_id</field>
                <orderby>gallery_ishero DESC</orderby>
            </associated>
            <associated>
                <name>tags</name>
                <table>tbl_tag</table>
                <linkfield>product_id</linkfield>
                <field>tag_object_id</field>
                <where>tag_object_table = 'tbl_product'</where>
            </associated>
            <tags>
                <name>associated_products</name>
                <table>tbl_tag</table>
                <object_table>tbl_product</object_table>
                <object_value>product_group</object_value>
            </tags>
            <template>product.tpl</template>
        </producttable>
    </product_page>

    <listing_page name="franchises/testimonials">
        <url>franchises/testimonials</url>
        <pageID>13</pageID>
        <type>5</type>
        <file>ListClass</file>
        <table><!-- This table will be the details table -->
            <name>tbl_listing</name>
            <field>listing_url</field><!-- The field used to match the URL -->
            <template>testimonial-details.tpl</template>
        </table>
        <template>testimonials.tpl</template>
        <!-- The template used if the field is matched -->
    </listing_page>
    
    <login>
        <url>login</url>
        <template>login.tpl</template>
        <pageID>23</pageID>
        <fallback_redirect>my-account</fallback_redirect>
    </login>
    <login>
        <url>login-register</url>
        <template>login-register.tpl</template>
        <pageID>157</pageID>
        <fallback_redirect>checkout</fallback_redirect>
        <options>
            <field recursive="true">
                <name>hearabout</name>
                <table>tbl_listing</table>
                <id>listing_object_id</id>
                <value>listing_url</value>
                <reference>listing_name</reference>
                <where>listing_type_id = '10' AND listing_published = '1'</where>
                <orderby>listing_order,listing_name</orderby>
            </field>
        </options>
    </login>
    
    
    <account restricted="true">
        <url>my-account</url>
        <template>account.tpl</template>
        <pageID>24</pageID>
        <fallback_redirect>login</fallback_redirect>
        <options>
            <field>
                <name>states</name>
                <table>tbl_region</table>
                <id>region_id</id>
                <value>region_name</value>
                <reference>region_name</reference>
                <where>region_id mod 10000 = 0</where>
                <orderby></orderby>
            </field>
        </options>
    </account>
    
    <classterm>
        <url>enrol</url>
        <parentID>15</parentID>
        <file>ClassTermClass</file>
        <table>
            <name>tbl_class</name>
            <field>class_url</field>
            <options>
                <field>
                    <name>states</name>
                    <table>tbl_region</table>
                    <id>region_id</id>
                    <value>region_name</value>
                    <reference>region_name</reference>
                    <where>region_id mod 10000 = 0</where>
                    <orderby></orderby>
                </field>
            </options>
        </table>
        <subpage>
            <url>classterm</url>
            <associated>
                <name>franchisees</name>
                <table>tbl_franchisee</table>
                <linkfield>location_franchisee_id</linkfield>
                <field>franchisee_object_id</field>
                <where>franchisee_published = '1'</where>
                <associated>
                    <name>users</name>
                    <table>tbl_access</table>
                    <linkfield>franchisee_object_id</linkfield>
                    <field>access_franchisee_id</field>
                    <where>admin_deleted IS NULL AND admin_level = '2'</where>
                    <extends>
                        <table>tbl_admin</table>
                        <linkfield>access_admin_id</linkfield>
                        <field>admin_id</field>
                    </extends>
                </associated>
            </associated>
            <associated>
                <name>products</name>
                <table>tbl_product</table>
                <linkfield>class_product_id</linkfield>
                <field>product_object_id</field>
                <where>product_published = '1' AND cache_published = '1'</where>
                <extends>
                    <table>cache_tbl_product</table>
                    <linkfield>product_object_id</linkfield>
                    <field>cache_record_id</field>
                </extends>
            </associated>
            <template>classterm.tpl</template>
        </subpage>
        <subpage>
            <url>search</url>
            <template>select-classterm.tpl</template>
        </subpage>
        <process>
            <file>includes/processes/processes-locations_number.php</file>
        </process>
        <template>enrol.tpl</template>
    </classterm>
    
    <cart>
        <url>shopping-cart</url>
        <pageID>25</pageID>
        <type>1</type>
        <file>ListClass</file>
        <table><!-- This table will be the details table -->
            <name>tbl_cart</name>
            <field>listing_url</field><!-- The field used to match the URL -->
        </table>
        <template>shopping-cart.tpl</template>
    </cart>
    
    <checkout guest="true">
        <url>checkout</url>
        <pageID>27</pageID>
        <type>1</type>
        <file>ListClass</file>
        <table><!-- This table will be the details table -->
            <name>tbl_listing</name>
            <field>listing_url</field><!-- The field used to match the URL -->
            <options>
                <field>
                    <name>states</name>
                    <table>tbl_region</table>
                    <id>region_id</id>
                    <value>region_name</value>
                    <reference>region_name</reference>
                    <where>region_id mod 10000 = 0</where>
                    <orderby></orderby>
                </field>
            </options>
        </table>
        <template>checkout.tpl</template>
    </checkout>

    <payment restricted="true">
        <url>payment</url>
        <template>payment.tpl</template>
        <fallback_redirect>login</fallback_redirect>
    </payment>

    <process>
        <url>process/cart</url>
        <file>includes/processes/processes-cart.php</file>
        <return_url></return_url>
    </process>  
    <process>
        <url>process/user</url>
        <file>includes/processes/processes-user.php</file>
        <return_url></return_url>
    </process>
    <process>
        <url>process/sms</url>
        <file>includes/processes/processes-sms.php</file>
        <return_url></return_url>
    </process>
    <process>
        <url>process/contact-us</url>
        <file>includes/processes/processes-contactus.php</file>
        <return_url></return_url>
    </process>
    <process>
        <url>process/general</url>
        <file>includes/processes/processes-general.php</file>
        <return_url></return_url>
    </process>
    <process>
        <url>process/postcodesuburbs</url>
        <file>includes/processes/processes-postcodesuburbs.php</file>
        <return_url></return_url>
    </process>
    <process>
        <url>process/regionsuburbs</url>
        <file>includes/processes/processes-regionsuburbs.php</file>
        <return_url></return_url>
    </process>
    <process>
        <url>process/e-newsletter</url>
        <file>includes/processes/process-campaignmonitor.php</file>
        <return_url></return_url>
    </process>
    <payment_gateway>
        <live_url></live_url>
        <test_url></test_url>
        <live>false</live><!-- true when LIVE -->
        <merchant_id></merchant_id>
        <merchant_password></merchant_password>
        <surcharge_percentage>2</surcharge_percentage>
    </payment_gateway>
    
    <responsiveImages>
        <resolutions></resolutions><!-- the resolution break-points to use (screen widths, in pixels) -->
        <cache></cache><!-- where to store the generated re-sized images. Specify from your document root! -->
        <quality></quality><!-- the quality of any generated JPGs on a scale of 0 to 100 -->
        <sharpen></sharpen><!-- Shrinking images can blur details, perform a sharpen on re-scaled images? -->
        <watch_cache></watch_cache><!-- check that the adapted image isn't stale (ensures updated source images are re-cached) -->
        <browser_cache></browser_cache><!-- How long the BROWSER cache should last (seconds, minutes, hours, days. 7days by default) -->
    </responsiveImages>
    <smartytemplate_config>
        <templates>/templates</templates>
        <templates_c>/templates_c</templates_c>
        <cache>/cache</cache>
        <configs>/configs</configs>
        <plugins>/plugins</plugins>
    </smartytemplate_config>
</config>
